﻿using System.Data.Linq.Mapping;

namespace Southern.Models.Southern.Partials
{
    public class SysUserRole
    {
        private int _RoleId;
        private int _UserId;

        [Column(Storage = "_UserId", DbType = "Int NOT NULL")]
        public int UserId
        {
            get { return _UserId; }
            set
            {
                if ((_UserId != value))
                {
                    _UserId = value;
                }
            }
        }

        [Column(Storage = "_RoleId", DbType = "Int NOT NULL")]
        public int RoleId
        {
            get { return _RoleId; }
            set
            {
                if ((_RoleId != value))
                {
                    _RoleId = value;
                }
            }
        }
    }
}